package com.epfuse.cloud.common.datasource.annotation;

import com.epfuse.cloud.common.datasource.DynamicDataSourceAutoConfiguration;
import org.springframework.context.annotation.Import;

import java.lang.annotation.*;

/**
 * @Author : 孙峰
 * @Description: 开启动态数据源
 * @Date : 2022/7/16  16:28
 */
@Target({ ElementType.TYPE })
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Inherited
@Import(DynamicDataSourceAutoConfiguration.class)
public @interface EnableDynamicDataSource {
}
